package cn.kone.mapper;

import cn.kone.domain.Teacher;
import cn.kone.query.BaseQuery;

import java.util.List;

public interface TeacherMapper {
    List<Teacher> findAllTeachers();

    Teacher findOneByIdTeacher(Long id);

    void addTeacher(Teacher teacher);

    void updateTeacher(Teacher teacher);

    void batchAddTeacher(List<Teacher> teacherList);

    void deleteTeacher(Long id);

    void batchdeleteTeacher(Long[] ids);

    Teacher findQueryTeacher(BaseQuery baseQuery);
}
